import type {App} from 'vue'
import { hasPerm } from './permission'

// 全局注册directive方法
export function setupDirective(app:App<Element>){
    app.directive('hasPerm',hasPerm)
}